/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package main;

/**
 *
 * @author daz
 */
public class SmsInfo {

    private String synTax;
    private String numberCharge1;
    private int cost1;
    private String numberCharge2;
    private int cost2;
    private String numberCharge3;
    private int cost3;
    private int gameMoney1;
    private int gameMoney2;
    private int gameMoney3;

    public SmsInfo(String synTax, String numberCharge1, String cost1, String numberCharge2, String cost2, String numberCharge3, String cost3, String gameMoney1, String gameMoney2, String gameMoney3) {
        this.synTax = synTax;
        this.numberCharge1 = numberCharge1;
        this.cost1 = Integer.parseInt(cost1);
        this.numberCharge2 = numberCharge2;
        this.cost2 = Integer.parseInt(cost2);
        this.numberCharge3 = numberCharge3;
        this.cost3 = Integer.parseInt(cost3);
        this.gameMoney1 = Integer.parseInt(gameMoney1);
        this.gameMoney2 = Integer.parseInt(gameMoney2);
        this.gameMoney3 = Integer.parseInt(gameMoney3);
    }

    public void setSynTax(String synTax) {
        this.synTax = synTax;
    }

    public String getSynTax() {
        return synTax;
    }

    public void setNumberCharge1(String numberCharge1) {
        this.numberCharge1 = numberCharge1;
    }

    public String getNumberCharge1() {
        return numberCharge1;
    }

    public void setNumberCharge2(String numberCharge2) {
        this.numberCharge2 = numberCharge2;
    }

    public String getNumberCharge2() {
        return numberCharge2;
    }

    public void setNumberCharge3(String numberCharge3) {
        this.numberCharge3 = numberCharge3;
    }

    public String getNumberCharge3() {
        return numberCharge3;
    }

    public void setCoefficient(int coefficient) {

        this.gameMoney1 = cost1 * coefficient;
        this.gameMoney2 = cost2 * coefficient;
        this.gameMoney3 = cost3 * coefficient;

    }

    public int getGameMoney1() {
        return gameMoney1;
    }

    public int getGameMoney2() {
        return gameMoney2;
    }

    public int getGameMoney3() {
        return gameMoney3;
    }

    public void setCost1(int cost1) {
        this.cost1 = cost1;
    }

    public void setCost2(int cost2) {
        this.cost2 = cost2;
    }

    public void setCost3(int cost3) {
        this.cost3 = cost3;
    }

    public int getCost1() {
        return cost1;
    }

    public int getCost2() {
        return cost2;
    }

    public int getCost3() {
        return cost3;
    }
}
